-
Notifications
You must be signed in to change notification settings - Fork 345
fix: grouped pretty print status output #4276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
320c852 to
ec80910
Compare
Pull Request Test Coverage Report for Build 19694860430Details
💛 - Coveralls |
9dcaefb to
6f6c541
Compare
6f6c541 to
3b1adbd
Compare
|
Is there a way to get the old rendering of info? This makes parsing much much harder.... |
|
Hey @A-F-V, thanks for the heads up on docs, we'll update this. If you need to parse the info programmatically, you can use the supabase status -o env$ supabase status --help
Show status of local Supabase containers
Usage:
supabase status [flags]
Examples:
supabase status -o env --override-name api.url=NEXT_PUBLIC_SUPABASE_URL
supabase status -o json
Flags:
-h, --help help for status
--override-name strings Override specific variable names.
Global Flags:
--create-ticket create a support ticket for any CLI error
--debug output debug logs to stderr
--dns-resolver [ native | https ] lookup domain names using the specified resolver (default native)
--experimental enable experimental features
--network-id string use the specified docker network instead of a generated one
-o, --output [ env | pretty | json | toml | yaml ] output format of status variables (default pretty)
--profile string use a specific profile for connecting to Supabase API (default "supabase")
--workdir string path to a Supabase project directory
--yes answer yes to all promptsLet me know if this works for you. |
This updates the pretty printed output from
supabase startandsupabase statusto be a bit more user friendly, especially for newcomers. Specifically:RESTandEdge FunctionsImplementation-wise I tried a few different table renderers (including manual), but
tablewriterended up being the most straightforward and least buggy.Testing
feat/pretty-print-output.go run . start- observe the new output.go run . statusto see the same output.